﻿<?php
/*
 * DB CONFIGS
 */
$mydbhost		="localhost";		//配置主机
$mydbuser		="root";			//数据库用户
$mydbpw			="root";			//数据库密码
$mydbname		="eduproject";		        //数据库名称
$mydbcharset	="utf8";           //数据库编码
/*
 * URL CONFIGS
 */
$website='http://localhost';//域名
$url=$website.'/eduproject/index.php';//首页地址
$url_path=$website.'/eduproject';//站点根目录
/*
 * SINA WEIBO CONFIGS
 */
$weiboID=2132925571;
define( "WB_AKEY" , '2134198102' );
define( "WB_SKEY" , '2efd1289bf13462c3e7cdf18e33ee987' );
/*
*管理员Session值
*/
$token='60fdc1e98fd459a8ee06c42bf412512c';
$secret='996c13f529ee887b65d9820872e8291e';
/*
 * Smarty setting
 */
include_once './Smarty/Smarty.class.php';
$smarty = new Smarty();
$smarty->assign('url_path',$url_path);
$smarty->template_dir = "./templates";//模板目录
$smarty->compile_dir = "./templates_c";
$smarty->cache_dir = "./cache";
$smarty->cache_lifetime = 60*60*24;
$smarty->caching = false;
$smarty->left_delimiter = "<!--{";//smarty开始标签
$smarty->right_delimiter = "}-->";//smarty结束标签
?>